package com.xuelang.pipeline.worker.entry.crd.application;

import com.xuelang.pipeline.worker.app.crd.application.ApplicationService;
import com.xuelang.pipeline.worker.client.common.result.ApiResult;
import com.xuelang.pipeline.worker.client.crd.IApplicationService;
import com.xuelang.pipeline.worker.client.crd.dto.ApplicationDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liuyuan.ly
 * @since 2024/7/26 9:58
 */
@RestController
public class ApplicationController implements IApplicationService {
    @Autowired
    private ApplicationService applicationService;


    @Override
    public ApiResult<Boolean> saveOrUpdateApplication(ApplicationDTO dto) {
        return applicationService.saveOrUpdateApplication(dto);
    }
}
